path_mirror(index);
参数 | 描述 |
---|---|
index | The index of the path to mirror. |
返回: N/A(无返回值)
This function takes all the path points and mirrors them along
the vertical axis. This function changes the actual path resource,
and so will permanently affect how the path is used by all
instances in the game from the moment the function is used until
the end of the game.
path_mirror(mypath);
This would mirror "mypath" along the vertical axis.